Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(workspace): Distribute pipeline, not providers #717

Merged
merged 2 commits into from
Oct 19, 2024

Conversation

clabby
Copy link
Collaborator

@clabby clabby commented Oct 19, 2024

Overview

Experiment to distribute DerivationPipeline types, as kona-providers-alloy is doing today. Our abstractions are a bit off right now, with kona-providers holding traits specific to kona-derive, without ever needing to be used alongside it. However, kona-providers-alloy is already following a great pattern by distributing the pipeline itself with a constructor for the configuration as new_online_pipeline, as the abstractions intended.

This pattern keeps cyclical dependencies away, and because we're distributing the pipeline, there's no real need for kona-providers. We can also extend this pattern further, with a good cleanup of the oracle-backed pipeline into a new kona-derive-oracle crate.

This is also how modifications like alt DA intend to ship their pipeline type variants as well.

@clabby clabby added K-feature Kind: feature A-workspace Area: Top level workspace modifications labels Oct 19, 2024
@clabby clabby self-assigned this Oct 19, 2024
@clabby clabby requested a review from refcell as a code owner October 19, 2024 06:55
Copy link

codecov bot commented Oct 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@49c3118). Learn more about missing BASE report.
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

README.md Show resolved Hide resolved
Copy link
Collaborator

@refcell refcell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a proponent of this refactor. Left a few comments that I'd like to see addressed prior to merging.

@refcell
Copy link
Collaborator

refcell commented Oct 19, 2024

I'd also like to get this in first: #713

@clabby clabby enabled auto-merge October 19, 2024 14:57
@clabby clabby added this pull request to the merge queue Oct 19, 2024
Merged via the queue into main with commit e44a11b Oct 19, 2024
17 checks passed
@github-actions github-actions bot mentioned this pull request Oct 19, 2024
fakedev9999 pushed a commit to fakedev9999/kona that referenced this pull request Nov 5, 2024
* feat(workspace): Distribute pipeline, not providers

* lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-workspace Area: Top level workspace modifications K-feature Kind: feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants